package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategycatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategycatalogService {

    PageInfo<Strategycatalog> query(QueryObject qo);


    void saveOrUpdate(Strategycatalog strategycatalog);

    /**
     * 根据前台传递过来的大攻略的ID，查出指定的攻略分类
     * @param strategyId
     * @return
     */
    List<Strategycatalog> queryCatalogBystrategyId(Long strategyId);
}
